﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Medianamik.UI.ImportExportManagement
{
    public class SQLDataType
    {
        public SQLDataType(String name)
        {
            if (String.IsNullOrEmpty(name))
                throw new ArgumentException("The name of a SQL Data Type cannot be null or empty.", "name");

            _name = name;
        }

        public String Name
        {
            get { return _name; }
            set
            {
                if (String.IsNullOrEmpty(value))
                    throw new ArgumentException("The name of a SQL Data Type cannot be null or empty.", "Name");

                _name = value;
            }
        }
        string _name;
    }
}
